considering the development trend of vdr and fieldbus, some researches on interconnection of can fieldbus and ethernet were done . and works based on 51 serial singlechip are shown, such as hardware principle scheme of can ethernet gateway . ethernet driver source codes and corresponding tcp / ip protocol transplant functions 結(jié)合現(xiàn)場(chǎng)總線和以太網(wǎng)的發(fā)展趨勢(shì),論文對(duì)can總線與以太網(wǎng)的互聯(lián)進(jìn)行了研究,給出基于51單片機(jī)的can總線以太網(wǎng)網(wǎng)關(guān)的硬件設(shè)計(jì)原理圖、以太網(wǎng)驅(qū)動(dòng)程序源代碼和相應(yīng)的tcp/ip協(xié)議移植程序函數(shù)。
at last, the test on the network communication portion was implemented, and the result proved the communication portion is reliable . the design of internet communication portion involves software 、 hardware and network technology . the design of ethernet driver software and protocol serve software of 32bit mpu, not only helpful to the development of modern agriculture measure and control system, but also to the application of embedded system on information devices 對(duì)整個(gè)網(wǎng)絡(luò)通訊部分統(tǒng)一進(jìn)行了測(cè)試,測(cè)試結(jié)果表明系統(tǒng)的通訊部分可以正常工作;互聯(lián)網(wǎng)通訊功能的設(shè)計(jì)與實(shí)現(xiàn)涉及到了從硬件、軟件、網(wǎng)絡(luò)技術(shù),在32位mpu上的以太網(wǎng)驅(qū)動(dòng)軟件及協(xié)議服務(wù)軟件的設(shè)計(jì)成功,不僅有助于現(xiàn)代設(shè)施農(nóng)業(yè)測(cè)控系統(tǒng)的發(fā)展,還有助于嵌入式系統(tǒng)在信息設(shè)備中的應(yīng)用。